package com.lagou.edu.config;

import com.alibaba.csp.sentinel.slots.block.BlockException;

public class SentinelHandlersClass {

    public static String handleException(String email, BlockException blockException){
        return "(流控中)正在处理中，请稍后。。。。。";
    }

    public static String fallbackMethod(String email){
        return "发生异样，进行降级。。。。";
    }
}
